out of courtesy

Translations
из вежливости
He attended the event out of courtesy.
Он посетил мероприятие из вежливости.
Definitions
A phrase used to describe an action done as a polite gesture or to show respect, rather than out of obligation or necessity.